@import 'swiper/less';
@import "swiper/css/bundle";

#brushingVideos {
    width: 100%;
    height: 100%;

    .contentFull {
        height: 100%;
        width: 100%;
        background-color: #000;
        box-sizing: border-box;

        .swiper-wrapper {
            width: 100%;

            .swiper-slide {
                height: 100%;
                position: relative;

                .tops {
                    width: 100%;
                    height: 5rem;
                    display: flex;
                    top: 0;
                    z-index: 5;
                    left: 0;
                    align-items: center;
                    justify-content: center;
                    position: absolute;

                    .changeTop {
                        width: 100%;
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        p {
                            margin: 0 2rem;
                            font-size: 1.8rem;
                            color: #fff;
                        }

                        .activeColor {
                            color: #fff;

                        }
                    }

                    .sou {
                        position: absolute;
                        right: 2rem;
                        top: 1rem;

                        img {
                            width: 3rem;
                            height: 3rem;
                        }
                    }
                }

                .user {
                    width: 70%;
                    height: 8rem;
                    position: absolute;
                    z-index: 5;
                    bottom: 0;
                    left: 0;
                    color: #fff;
                    box-sizing: border-box;
                    padding-left: 1rem;

                    .p1 {
                        font-size: 2.3rem;
                    }

                    .p2 {
                        font-size: 1.8rem;
                        margin: 0.8rem 0;
                    }
                }

                .fun {
                    width: 14%;
                    height: 50rem;
                    z-index: 5;
                    position: absolute;
                    bottom: 0;
                    right: 0;
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: space-around;

                    .toto {
                        width: 95%;
                        height: 5.5rem;
                        display: flex;
                        // border: 0.2rem solid #fff;
                        justify-content: center;
                        flex-wrap: wrap;
                        align-items: center;
                        position: relative;

                        img {
                            height: 7rem;
                            width: 70%;
                        }

                        .btn {
                            width: 2rem;
                            height: 2rem;
                            position: absolute;
                            bottom: -1rem;
                        }
                    }

                    .pink {
                        width: 60%;
                        height: 3.5rem;
                        display: flex;
                        justify-content: center;
                        flex-wrap: wrap;
                        color: white;
                        position: relative;

                        p {
                            position: absolute;
                            bottom: -2.3rem;
                            font-size: 1.3rem;
                            width: 5rem;
                            text-align: center;
                        }
                    }
                }

                .voice_play {
                    z-index: 5;
                    position: absolute;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    top: 0;
                    margin: auto;
                    width: 7rem;
                    height: 7rem;
                    opacity: 3rem;
                }

                .video {
                    width: 100%;
                    height: 100%;
                    position: relative;
                    z-index: 1;
                    object-fit: cover;
                    /* 确保视频覆盖整个容器 */
                }
            }
        }
    }
}

#pupShow {
    width: 100%;
    height: 100%;
    box-sizing: border-box;

    .tit {
        width: 100%;
        height: 15%;
        text-align: center;
        line-height: 4rem;
        font-size: 1.4rem;
    }

    .context {
        width: 100%;
        height: 80%;
        position: absolute;
        overflow-y: scroll;

        .text {
            width: 100%;
            // height: 7rem;
            display: flex;
            padding: 0.3rem 1rem;
            box-sizing: border-box;
            flex-wrap: wrap;
            margin: 1rem 0;

            .img {
                width: 18%;
                height: 100%;
                display: flex;
                justify-content: center;

                img {
                    height: 5rem;
                    width: 5rem;
                    border-radius: 5rem;
                }
            }

            .cont {
                width: 82%;

                .pp1 {
                    color: #999;
                }

                .pp2 {
                    margin: 0.7rem 0;
                    font-size: 1.5rem;
                }

                .pp3 {
                    .sp1 {
                        color: #999;
                    }

                    .sp2 {
                        margin: 0 0.8rem;
                        font-weight: 700;
                    }

                    .sp3 {
                        margin-left: 7rem;
                    }
                }

                .childRen {
                    width: 100%;
                    max-height: 0px; /* 初始状态下，限制高度 */
                    overflow: hidden; /* 隐藏超出部分 */
                    transition: max-height 0.3s ease-out; /* 平滑过渡 */

                    /* 平滑过渡 */
                    &.expanded {
                        max-height: none;
                    }

                    .childCont {
                        width: 100%;
                        display: flex;
                        margin: 1.4rem 0;
                    }
                }

                .pp4 {
                    margin: 1rem 0;

                    .lp1 {
                        color: #999;
                    }

                    .lp2 {
                        margin-right: 4rem;
                    }

                    .lp2,
                    .lp1 {
                        font-weight: 700;
                    }
                }
            }
        }
        .pops{
            width: 100%;
            margin: 1rem 0;
            color: #999;
            text-align: center;
        }
    }

    .boTT {
        width: 100%;
        height: 10%;
        padding: 0.5rem 1.2rem;
        background-color: white;
        position: absolute;
        bottom: 0;
        box-sizing: border-box;

        .comment-input {
            width: 85%;
            box-sizing: border-box;
            padding: 1rem 4rem 1rem 1rem;
            outline: none;
            border-radius: 3rem;
            background-color: #f5f7fa;
            border: 0;
            font-size: 1.7rem;

        }

        span {
            width: 15%;
            font-size: 1.7rem;
            text-align: center;
            display: inline-block;
        }

        .comment-input:focus {
            border-color: #007bff;
        }
    }
}